WPDiscourse\DiscourseComment\DiscourseComment A

Total Complexity 56
Dependencies 2
Dependents 2
Total lines 365
Lines of code 208
Logical lines of code 137
Comment lines 93
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
sync_comments()
B
35 19 74
comments_template()
A
47 10 34
get_comment_type_for_post()
A
52 9 24
get_comments_number()
S
51 7 25
get_discourse_comments()
S
60 5 12
discourse_comments_js()
S
61 3 12
initialize_comment_route()
S
58 2 17
__construct()
S
62 1 10